boot.loader.grub.users.<name>.password

Specifies the clear text password for the account. This password will be copied to the Nix store, and will be visible to all local users.

Type
null or string
Default
null
Example
"Pa$$w0rd!"
Declared
<nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix>